@import '~antd/dist/antd.css';
@import "braft";

$main-color: #52C41A;
$danger-color: #F5222D;
$success-color: $main-color;

$body-bgc: #f3f3f596;


// Devices

$desktopBelow: (max-width: 1920px);
$laptopBelow: (max-width: 1440px);
$iPadProBelow: (max-width: 1024px);
$iPadBelow: (max-width: 768px);
$iPhoneXBelow: (max-width: 414px);

:root, h1, h2, h3, h4, h5, span, p, a, ul, li{
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
  'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
  'Segoe UI Emoji', 'Segoe UI Symbol';
}

body {
  background-color: $body-bgc;
}

html {
  @media screen and #{$laptopBelow} {
    font-size: 18px;
  }

  @media screen and #{$iPadBelow} {
    font-size: 16px;
  }

  @media screen and (max-width: 400px) {
    font-size: 12px;
  }

  @media screen and (max-width: 320px) {
    font-size: 10px;
  }

}



